//
//  EPOSLocStocks.m
//  BCGenieEffect
//
//  Created by Ios Entity Generator on 2014-03-03 17:45:20
//  Copyright (c) 2014年 Bartosz Ciechanowski. All rights reserved.
//

#import "EPOSLocStocks.h"

@implementation EPOSLocStocks

+(id) getEPOSLocStocksFromDictionary :(NSMutableDictionary *) dic {
    EPOSLocStocks * locStocks = [[EPOSLocStocks alloc]init] ;
    locStocks.LocID = [dic objectForKey:@"LocID"];
    locStocks.ProdID = [dic objectForKey:@"ProdID"];
    locStocks.SelectedSpecified = [dic objectForKey:@"SelectedSpecified"];
    locStocks.ShopID = [dic objectForKey:@"ShopID"];
    locStocks.EntityState = [dic objectForKey:@"EntityState"];
    locStocks.EntityStateSpecified = [dic objectForKey:@"EntityStateSpecified"];
    locStocks.HandStock = [dic objectForKey:@"HandStock"];
    locStocks.Selected = [dic objectForKey:@"Selected"];
    locStocks.LocProp = [dic objectForKey:@"LocProp"];
    locStocks.HandStockSpecified = [dic objectForKey:@"HandStockSpecified"];
    return locStocks ;
}

+(NSMutableDictionary *) getDictionaryFromEPOSLocStocks :(EPOSLocStocks* ) locStocks {
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init] ;
    [dic setObject:locStocks.LocID forKey:@"LocID"];
    [dic setObject:locStocks.ProdID forKey:@"ProdID"];
    [dic setObject:locStocks.SelectedSpecified forKey:@"SelectedSpecified"];
    [dic setObject:locStocks.ShopID forKey:@"ShopID"];
    [dic setObject:locStocks.EntityState forKey:@"EntityState"];
    [dic setObject:locStocks.EntityStateSpecified forKey:@"EntityStateSpecified"];
    [dic setObject:locStocks.HandStock forKey:@"HandStock"];
    [dic setObject:locStocks.Selected forKey:@"Selected"];
    [dic setObject:locStocks.LocProp forKey:@"LocProp"];
    [dic setObject:locStocks.HandStockSpecified forKey:@"HandStockSpecified"];
    return dic ;
}

@end